Array.prototype.includes1=function(value,fromIndex=0){
   if(fromIndex >= array.length){
    return false}

if(fromIndex<0){
    fromIndex+=this.length
    if(fromIndex<0)fromIndex=0
}
    for(let i=fromIndex;i<this.length;i++){
        if(this[i]===value){
            return true
        }
    }
    return false
   }

   let arr1=[1,3,2]
   console.log(arr1.includes(3,4));